import 'Phaser';

import LoadScene from './scenes/load'
import LoginScene from './scenes/login'
import SelectRoleScene from './scenes/selectRole'
import GameScene from './scenes/game'

const config = {
    type: Phaser.AUTO,
    width: 1280,
    height: 720,
    parent: 'game',
    scale: {
        mode: Phaser.Scale.ScaleModes.HEIGHT_CONTROLS_WIDTH,
        autoCenter: Phaser.Scale.Center.CENTER_BOTH
    },
    scene: [LoadScene, LoginScene, SelectRoleScene, GameScene]
};

const game = new Phaser.Game(config)

